package com.gisquest.pg.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * <p>
 *
 * </p>
 *
 * @author liudl
 * @date 2022/7/28
 */
@ConfigurationProperties(prefix = "rds.usage")
public class RdsUsageConfig {
    private int threadNum;
    private int busyRate;
    private int memorySize;
    private int diskSize;

    public int getThreadNum() {
        return threadNum;
    }

    public void setThreadNum(int threadNum) {
        this.threadNum = threadNum;
    }

    public int getBusyRate() {
        return busyRate;
    }

    public void setBusyRate(int busyRate) {
        this.busyRate = busyRate;
    }

    public int getMemorySize() {
        return memorySize;
    }

    public void setMemorySize(int memorySize) {
        this.memorySize = memorySize;
    }

    public int getDiskSize() {
        return diskSize;
    }

    public void setDiskSize(int diskSize) {
        this.diskSize = diskSize;
    }
}